package com.xhsj.user.pms.patent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhsj.user.pms.patent.domain.TbPamJudgesIpr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 技术领域与IPR中间表 Mapper 接口
 * </p>
 *
 * @author suxiaolin
 * @since 2020-07-07
 */
@Mapper
public interface TbPamJudgesIprMapper extends BaseMapper<TbPamJudgesIpr> {

    //删除技术领域对应的ipr根据技术领域的id
    int deleteByJudgesId(@Param("judgesId") String judgesId);

    //获取技术领域对应的ipr根据技术领域id
    List<String> getJudgesIprs(@Param("judgesId") String judgesId);
}
